package com.example.myFirstWebmagic.airQualityForecasting;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * 
 * ClassName: AirqualityForecastPK 
 * @Description: 空气质量预报的主键
 * @author xiongyao
 * @date 2017年3月13日
 */
@Embeddable
public class AirqualityForecastPK implements Serializable{

	/**
	 * @Fields serialVersionUID : TODO
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 发布日期
	 */
	@Column(nullable=false)
	private String date;
	
	/**
	 * 城市
	 */
	@Column(nullable=false)
	private String city;

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public AirqualityForecastPK() {
		
	}
	
	
}
